.class public Lcom/alipay/android/app/net/RequestData;
.super Ljava/lang/Object;


# instance fields
.field private mAlixTid:Ljava/lang/String;

.field private mClientId:Ljava/lang/String;

.field private mClientKey:Ljava/lang/String;

.field private mInstalledClient:Ljava/lang/String;

.field private mNetwork:Ljava/lang/String;

.field private mOrderInfo:Ljava/lang/String;


# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/alipay/android/app/net/RequestData;->mClientKey:Ljava/lang/String;

    iput-object p2, p0, Lcom/alipay/android/app/net/RequestData;->mClientId:Ljava/lang/String;

    iput-object p3, p0, Lcom/alipay/android/app/net/RequestData;->mAlixTid:Ljava/lang/String;

    iput-object p4, p0, Lcom/alipay/android/app/net/RequestData;->mInstalledClient:Ljava/lang/String;

    iput-object p5, p0, Lcom/alipay/android/app/net/RequestData;->mNetwork:Ljava/lang/String;

    iput-object p6, p0, Lcom/alipay/android/app/net/RequestData;->mOrderInfo:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public getAlixTid()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/alipay/android/app/net/RequestData;->mAlixTid:Ljava/lang/String;

    return-object v0
.end method

.method public getClientId()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/alipay/android/app/net/RequestData;->mClientId:Ljava/lang/String;

    return-object v0
.end method

.method public getClientKey()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/alipay/android/app/net/RequestData;->mClientKey:Ljava/lang/String;

    return-object v0
.end method

.method public getInstalledClient()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/alipay/android/app/net/RequestData;->mInstalledClient:Ljava/lang/String;

    return-object v0
.end method

.method public getNetwork()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/alipay/android/app/net/RequestData;->mNetwork:Ljava/lang/String;

    return-object v0
.end method

.method public getOrderInfo()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/alipay/android/app/net/RequestData;->mOrderInfo:Ljava/lang/String;

    return-object v0
.end method

.method public setAlixTid(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/alipay/android/app/net/RequestData;->mAlixTid:Ljava/lang/String;

    return-void
.end method

.method public setClientId(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/alipay/android/app/net/RequestData;->mClientId:Ljava/lang/String;

    return-void
.end method

.method public setClientKey(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/alipay/android/app/net/RequestData;->mClientKey:Ljava/lang/String;

    return-void
.end method

.method public setInstalledClient(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/alipay/android/app/net/RequestData;->mInstalledClient:Ljava/lang/String;

    return-void
.end method

.method public setNetwork(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/alipay/android/app/net/RequestData;->mNetwork:Ljava/lang/String;

    return-void
.end method

.method public setOrderInfo(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/alipay/android/app/net/RequestData;->mOrderInfo:Ljava/lang/String;

    return-void
.end method

.method public toString()Ljava/lang/String;
    .locals 4

    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string v1, "deviceVersion"

    const-string v2, "Simulator"

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "clientKey"

    iget-object v2, p0, Lcom/alipay/android/app/net/RequestData;->mClientKey:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "clientId"

    iget-object v2, p0, Lcom/alipay/android/app/net/RequestData;->mClientId:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "alixtid"

    iget-object v2, p0, Lcom/alipay/android/app/net/RequestData;->mAlixTid:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "installedClient"

    iget-object v2, p0, Lcom/alipay/android/app/net/RequestData;->mInstalledClient:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "network"

    iget-object v2, p0, Lcom/alipay/android/app/net/RequestData;->mNetwork:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "orderInfo"

    iget-object v2, p0, Lcom/alipay/android/app/net/RequestData;->mOrderInfo:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "platform"

    const-string v2, "ANDROID"

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    const-string v2, "namespace"

    const-string v3, "com.alipay.mcashier"

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "api_version"

    const-string v3, "1.0.0"

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "api_name"

    const-string v3, "sdk_pay"

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "params"

    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string v2, "data"

    invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    return-object v0

    :catch_0
    move-exception v0

    const-string v0, ""

    goto :goto_0
.end method
